package com.tedu.ds.order.mapper;

import com.tedu.ds.order.pojo.dto.OrderQuery;
import com.tedu.ds.order.pojo.dto.OrderSaveParam;
import com.tedu.ds.order.pojo.entity.Order;
import com.tedu.ds.order.pojo.vo.OrderVO;

import java.util.List;

public interface OrderMapper {
    void insert(Order order);

    void update(Order order);

    void deleteById(Long id);

    List<OrderVO> select(OrderQuery orderQuery);

    List<OrderVO> selectByPayStatusANDCreateTime(OrderQuery orderQuery);

    void updateStatus(Order order);

}
